let doctorroles = {
    HOSPITAL_ADMIN:2,//医疗机构管理员
    ANALYSIS_ADMIN:3,//分析机构管理员
    AMBULANCE_DOCTOR:20,  //急救车医生
    XINLEI_DOCTOR:39,//心内科医生
    CCU_DOCTOR:42,//ccu医生
    DAOGUAN_DOCTOR:43,//导管室医生
    EMXT_ADMIN:41//胸痛审核医生
};
class AppConfig{
    static isCCUDoctor(loginuser){
        let roleresult = loginuser.roleids;
        let rolelist = roleresult.split(",");
        for(let item in rolelist){
            if(item === 42){
                return true;
            }
        }
        return false;
    }
    static isXINLEIDoctor(loginuser){
        let roleresult = loginuser.roleids;
        let rolelist = roleresult.split(",");
        for(let item in rolelist){
            if(item === 39){
                return true;
            }
        }
        return false;
    }
}
export default AppConfig;